package com.sharding.shardingdemo.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.Date;

/**
 * 
 *
 * @author zjmm zjmm@gmail.com
 * @since 1.0.0 2022-08-16
 */
@Data
@EqualsAndHashCode(callSuper=false)
@TableName("user_msg")
public class UserMsg{
	private static final long serialVersionUID = 1L;


	private String id;
    /**
     * 
     */
	private String title;
    /**
     * 1 报警消息 2工单消息
     */
	private String type;
    /**
     * 报警id 或者工单id
     */
	private String reId;
    /**
     * 
     */
	private String remark;
    /**
     * 0未读  1已读
     */
	private Integer status;
    /**
     * 
     */
	private String userId;
    /**
     * 
     */
	@TableField(fill = FieldFill.INSERT)
	private Date createTime;
}